<?xml version="1.0" encoding="utf-8"?>
<Application xmlns="http://schemas.microsoft.com/windows/2009/Ribbon">
  <Application.Commands>
    <Command Name="cmdTabHome" Symbol="cmdTabHome" Id="30000" LabelTitle="Home">
    </Command>
    <Command Name="GroupClipboard" Symbol="cmdGroupClipboard" Id="30005">
      <Command.LabelTitle>Klembord</Command.LabelTitle>
    </Command>
    <Command Name="Paste" Symbol="cmdPaste" Id="30009" LabelTitle="Paste">
      <Command.TooltipTitle>Plakken</Command.TooltipTitle>
      <Command.TooltipDescription>Plakken</Command.TooltipDescription>
      <Command.LargeImages>
        <Image Id="4000" Source="../TouchMind/res/Paste.bmp"/>
      </Command.LargeImages>
    </Command>
    <Command Name="Cut" Symbol="cmdCut" Id="30010" LabelTitle="Cut">
      <Command.TooltipTitle>Knippen</Command.TooltipTitle>
      <Command.TooltipDescription>Knippen</Command.TooltipDescription>
      <Command.SmallImages>
        <Image Source="../TouchMind/res/Cut.bmp"/>
      </Command.SmallImages>
    </Command>
    <Command Name="Copy" Symbol="cmdCopy" Id="30011" LabelTitle="Copy">
      <Command.TooltipTitle>Kopiëren</Command.TooltipTitle>
      <Command.TooltipDescription>Kopiëren</Command.TooltipDescription>
      <Command.SmallImages>
        <Image Source="../TouchMind/res/Copy.bmp"/>
      </Command.SmallImages>
    </Command>
    <Command Name="Undo" Symbol="cmdUndo" Id="30015">
      <Command.LabelTitle>
        <String Id="2020">Ongedaan maken</String>
      </Command.LabelTitle>
      <Command.TooltipTitle>Ongedaan maken</Command.TooltipTitle>
      <Command.TooltipDescription>Ongedaan maken</Command.TooltipDescription>
      <Command.SmallImages>
        <Image Source="../TouchMind/res/UndoS.bmp"/>
      </Command.SmallImages>
    </Command>
    <Command Name="FileMenu" Symbol="IDC_FILEMENU"/>
    <Command Name="MRUList" Symbol="cmdMRUList" Id="30016"/>
    <Command Name="QAT" Symbol="IDC_QAT"/>
    <!-- AppMenu commands -->
    
    <!-- New -->
    <Command Name="New" Symbol="cmdNew" Id="0xE100" Keytip="N">
      <Command.LabelTitle>
        <String Id="2021">Nieuw document</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image Id="4016" Source="../TouchMind/res/NewL.bmp"/>
      </Command.LargeImages>
      <Command.TooltipTitle>Nieuw (Ctrl+N)</Command.TooltipTitle>
      <Command.TooltipDescription>Maak een nieuw document.</Command.TooltipDescription>
    </Command>
    
    <Command Name="OpenFileMore" Symbol="IDC_OPENFILEMORE" Id="20500"/>
    
    <!-- Open File -->
    <Command Name="OpenFile" Symbol="cmdOpenFile" Id="0xE101" Keytip="O">
      <Command.LabelTitle>
        <String Id="2022">Open Bestand</String>
      </Command.LabelTitle>
      <Command.LabelDescription>
        <String Id="2023">Open bestand vanaf de lokale systeem of gedeeld netwerk.</String>
      </Command.LabelDescription>
      <Command.LargeImages>
        <Image Id="4017" Source="../TouchMind/res/OpenFileL.bmp"/>
      </Command.LargeImages>
      <Command.TooltipTitle>Open (Ctrl+O)</Command.TooltipTitle>
      <Command.TooltipDescription>Open een document.</Command.TooltipDescription>
    </Command>
    
    <Command Name="OpenFreeMind" Symbol="cmdOpenFreeMind" Id="32774">
      <Command.LabelTitle>
        <String Id="2024">Open FreeMind</String>
      </Command.LabelTitle>
      <Command.LabelDescription>
        <String Id="2025">Open een FreeMind-bestand vanaf de lokale systeem of gedeeld netwerk.</String>
      </Command.LabelDescription>
      <Command.LargeImages>
        <Image Id="4018" Source="../TouchMind/res/OpenFileL.bmp"/>
      </Command.LargeImages>
    </Command>
    
    <!-- Save -->
    <Command Name="Save" Symbol="cmdSave" Id="0xE103" Keytip="S">
      <Command.LabelTitle>
        <String Id="2026">Opslaan</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image Id="4019" Source="../TouchMind/res/SaveL.bmp"/>
      </Command.LargeImages>
      <Command.TooltipTitle>Opslaan (Ctrl+S)</Command.TooltipTitle>
      <Command.TooltipDescription>Sla het huidige document op</Command.TooltipDescription>
    </Command>

    <Command Name="SaveAs" Symbol="cmdSaveAs" Id="0xE104">
      <Command.LabelTitle>
        <String Id="2027">Opslaan Als</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image Id="4020" Source="../TouchMind/res/SaveAsL.bmp"/>
      </Command.LargeImages>
      <Command.TooltipDescription>Sla het huidige document op onder een nieuwe naam.</Command.TooltipDescription>
    </Command>
    
    <Command Name="PrintMore" Symbol="IDC_PRINTMORE" Id="20501"/>
    <Command Name="Print" Symbol="cmdPrint" Id="57607">
      <Command.LabelTitle>
        <String Id="2033">Print</String>
      </Command.LabelTitle>
      <Command.LabelDescription>
        <String Id="2028">Verzend het document naar de geselecteerde standaardprinter.</String>
      </Command.LabelDescription>
      <Command.LargeImages>
        <Image Id="4021" Source="../TouchMind/res/PrintL.bmp"/>
      </Command.LargeImages>
    </Command>
    <Command Name="PrintSetup" Symbol="cmdPrintSetup" Id="57606">
      <Command.LabelTitle>
        <String Id="2029">Printinstellingen</String>
      </Command.LabelTitle>
      <Command.LabelDescription>
        <String Id="2030">Pagina-indeling of een andere printerinstelling aanpassen.</String>
      </Command.LabelDescription>
      <Command.LargeImages>
        <Image Id="4022" Source="../TouchMind/res/PrintL.bmp"/>
      </Command.LargeImages>
    </Command>
    
    <Command Name="cmdVersionInfo" Symbol="cmdVersionInfo" Id="20502">
      <Command.LabelTitle>
        <String Id="211">Versie Info</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image Id="4024" Source="../TouchMind/res/TouchMindL.bmp"/>
      </Command.LargeImages>
    </Command>
    
    <!-- Exit -->
    <Command Name="Exit" Symbol="cmdExit" Keytip="X" Id="0xE102">
      <Command.LabelTitle>
        <String Id="2031">TouchMind Afsluiten</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image>../TouchMind/res/ExitL.bmp</Image>
      </Command.LargeImages>
      <Command.TooltipDescription>De applicatie afsluiten.</Command.TooltipDescription>
    </Command>
    
    <!-- context menu -->
    <Command Name="GroupBasicOperationGroup" Symbol="cmdGroupBasicOperationGroup" Id="30006">
      <Command.LabelTitle>Basisfuncties</Command.LabelTitle>
    </Command>
    <Command Name="cmdContextMap1" Comment="the Context Map for Context 1" Symbol="IDC_CMD_CONTEXTMAP1"/>
    <Command Name="EditNode" Symbol="cmdEditNode" Id="31001">
      <Command.LabelTitle>
        <String Id="3031">Tekst aanpassen</String>
      </Command.LabelTitle>
      <Command.TooltipTitle>Tekst aanpassen</Command.TooltipTitle>
      <Command.TooltipDescription>Tekst aanpassen</Command.TooltipDescription>
      <Command.LargeImages>
        <Image Source="../TouchMind/res/EditText64x64.bmp"/>
      </Command.LargeImages>
    </Command>
    <Command Name="DeleteNode" Symbol="cmdDeleteNode" Id="31002">
      <Command.LabelTitle>
        <String Id="3032">Dit knooppunt verwijderen</String>
      </Command.LabelTitle>
      <Command.TooltipTitle>Dit knooppunt verwijderen</Command.TooltipTitle>
      <Command.TooltipDescription>Dit knooppunt verwijderen</Command.TooltipDescription>
    </Command>
    <Command Name="CreateChildNode" Symbol="cmdCreateChildNode" Id="31003">
      <Command.LabelTitle>
        <String Id="3033">Maak een onderliggende knooppunt</String>
      </Command.LabelTitle>
      <Command.TooltipTitle>Maak een onderliggende knooppunt</Command.TooltipTitle>
      <Command.TooltipDescription>Maak een onderliggende knooppunt</Command.TooltipDescription>
      <Command.LargeImages>
        <Image Source="../TouchMind/res/NewNode64x64.bmp"/>
      </Command.LargeImages>
    </Command>
    <Command Name="cmdCreateLink" Symbol="cmdCreateLink">
      <Command.LabelTitle>Maak een verbinding</Command.LabelTitle>
      <Command.TooltipTitle>Maak een verbinding</Command.TooltipTitle>
      <Command.TooltipDescription>Maak een verbinding</Command.TooltipDescription>
      <Command.LargeImages>
        <Image Source="../TouchMind/res/Link.bmp"/>
      </Command.LargeImages>
    </Command>
    <Command Name="cmdDeleteLink" Symbol="cmdDeleteLink">
      <Command.LabelTitle>Deze verbinding verwijderen</Command.LabelTitle>
      <Command.TooltipTitle>Deze verbinding verwijderen</Command.TooltipTitle>
      <Command.TooltipDescription>Deze verbinding verwijderen</Command.TooltipDescription>
    </Command>
    <Command Name="cmdExpandNodes" Symbol="cmdExpandNodes">
      <Command.LabelTitle>
        <String Id="209">Knooppunten uitvouwen</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdCollapseNodes" Symbol="cmdCollapseNodes">
      <Command.LabelTitle>
        <String Id="210">Knooppunten dichtvouwen</String>
      </Command.LabelTitle>
    </Command>
    <!-- FontControl -->
    <Command Name="cmdFontControlGroup" Symbol="cmdFontControlGroup">
      <Command.LabelTitle>
        <String Id="205">Lettertype</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdFontControl" Symbol="cmdFontControl">
      <Command.Keytip>
        <String Id="206">F</String>
      </Command.Keytip>
    </Command>
    <!-- background color control -->
    <Command Name="cmdBackgroundColorGroup" Symbol="cmdBackgroundColorGroup">
      <Command.LabelTitle>
        <String Id="207">Knooppunt</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdBackgroundColor" Symbol="cmdBackgroundColor">
      <Command.LabelTitle>
        <String Id="208">Achtergrondkleur</String>
      </Command.LabelTitle>
      <Command.LargeImages>
        <Image>../TouchMind/res/BackgroundColor.bmp</Image>
      </Command.LargeImages>
    </Command>
    <!-- Shapes -->
    <Command Name="cmdNodeShape" Symbol="cmdNodeShape">
      <Command.LabelTitle>
        <String>Vorm</String>
      </Command.LabelTitle>
    </Command>
    <!-- Line attributes -->
    <Command Name="cmdLineAttributeGroup" Symbol="cmdLineAttributeGroup">
      <Command.LabelTitle>Lijneigenschappen</Command.LabelTitle>
    </Command>
    <Command Name="cmdLineColor" Symbol="cmdLineColor">
      <Command.LabelTitle>
        <String>Kleur</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdLineWidth" Symbol="cmdLineWidth">
      <Command.LabelTitle>
        <String>Dikte</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdLineEdgeStyle" Symbol="cmdLineEdgeStyle">
      <Command.LabelTitle>
        <String>Randstijl</String>
      </Command.LabelTitle>
    </Command>
    <Command Name="cmdLineStyle" Symbol="cmdLineStyle">
      <Command.LabelTitle>
        <String>Stijl</String>
      </Command.LabelTitle>
    </Command>
  </Application.Commands>
  
  <Application.Views>
    <Ribbon>
      <!-- Application Menu -->
      <Ribbon.ApplicationMenu>
        <ApplicationMenu CommandName="FileMenu">
          <ApplicationMenu.RecentItems>
            <RecentItems CommandName="MRUList" MaxCount="16" EnablePinning="false"/>
          </ApplicationMenu.RecentItems>
          <MenuGroup Class="MajorItems">
            <Button CommandName="New"/>
            <!-- Open File SplitButton -->
            <SplitButton CommandName="OpenFileMore">
              <SplitButton.ButtonItem>
                <Button CommandName="OpenFile"/>
              </SplitButton.ButtonItem>
              <SplitButton.MenuGroups>
                <MenuGroup Class="MajorItems">
                  <Button CommandName="OpenFile"/>
                  <Button CommandName="OpenFreeMind"/>
                </MenuGroup>
              </SplitButton.MenuGroups>
            </SplitButton>
            <Button CommandName="Save"/>
            <Button CommandName="SaveAs"/>
          </MenuGroup>
          <MenuGroup Class="MajorItems">
            <!-- Printing SplitButton -->
            <SplitButton CommandName="PrintMore">
              <SplitButton.ButtonItem>
                <Button CommandName="Print" />
              </SplitButton.ButtonItem>
              <SplitButton.MenuGroups>
                <MenuGroup Class="MajorItems">
                  <Button CommandName="PrintSetup" />
                  <Button CommandName="Print" />
                </MenuGroup>
              </SplitButton.MenuGroups>
            </SplitButton>
          </MenuGroup>
          <MenuGroup Class="MajorItems">
            <Button CommandName="cmdVersionInfo"/>
          </MenuGroup>
          <MenuGroup Class="MajorItems">
            <Button CommandName="Exit"/>
          </MenuGroup>
        </ApplicationMenu>
      </Ribbon.ApplicationMenu>
      <Ribbon.QuickAccessToolbar>
        <QuickAccessToolbar CommandName="QAT">
        </QuickAccessToolbar>
      </Ribbon.QuickAccessToolbar>
      <Ribbon.Tabs>
        <Tab CommandName="cmdTabHome">
          <Group CommandName="GroupClipboard" SizeDefinition="BigButtonsAndSmallButtonsOrInputs">
            <ControlGroup>
              <Button CommandName="Paste"/>
            </ControlGroup>
            <ControlGroup>
              <Button CommandName="Cut"/>
              <Button CommandName="Copy"/>
              <Button CommandName="Undo"/>
            </ControlGroup>
          </Group>
          <Group CommandName="GroupBasicOperationGroup" SizeDefinition="ThreeButtons">
            <Button CommandName="CreateChildNode"/>
            <Button CommandName="EditNode"/>
            <ToggleButton CommandName="cmdCreateLink"/>
          </Group>
          <Group CommandName="cmdBackgroundColorGroup" SizeDefinition="TwoButtons">
            <DropDownGallery CommandName="cmdNodeShape"
                             TextPosition="Hide"
                             Type="Items"
                             ItemHeight="64"
                             ItemWidth="64">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" />
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
            <DropDownColorPicker ColorTemplate="ThemeColors" CommandName="cmdBackgroundColor" ChipSize="Large"/>
          </Group>
          <Group CommandName="cmdFontControlGroup" SizeDefinition="OneFontControl">
            <FontControl CommandName="cmdFontControl" FontType="FontWithColor" ShowVerticalFonts="false"/>
          </Group>
          <Group CommandName="cmdLineAttributeGroup" SizeDefinition="FourButtons">
            <DropDownColorPicker CommandName="cmdLineColor" 
                                 ColorTemplate="ThemeColors" 
                                 ChipSize="Large"/>
            <DropDownGallery CommandName="cmdLineWidth"
                             TextPosition="Hide"
                             Type="Items"
                             ItemHeight="24"
                             ItemWidth="64">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" />
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
            <DropDownGallery CommandName="cmdLineEdgeStyle"
                             TextPosition="Hide"
                             Type="Items"
                             ItemHeight="24"
                             ItemWidth="64">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" />
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
            <DropDownGallery CommandName="cmdLineStyle"
                             TextPosition="Hide"
                             Type="Items"
                             ItemHeight="24"
                             ItemWidth="64">
              <DropDownGallery.MenuLayout>
                <VerticalMenuLayout Gripper="None" />
              </DropDownGallery.MenuLayout>
            </DropDownGallery>
          </Group>
        </Tab>
      </Ribbon.Tabs>
    </Ribbon>
    <ContextPopup>
      <ContextPopup.MiniToolbars>
        <MiniToolbar Name="myMiniToolbar">
          <MenuGroup Class="StandardItems">
            <FontControl CommandName="cmdFontControl" ShowVerticalFonts="false"/>
          </MenuGroup>
        </MiniToolbar>
      </ContextPopup.MiniToolbars>
      <ContextPopup.ContextMenus>
        <ContextMenu Name="ContextMenu1">
          <MenuGroup>
            <Button CommandName="EditNode"/>
            <Button CommandName="CreateChildNode"/>
            <Button CommandName="DeleteNode"/>
            <Button CommandName="cmdExpandNodes"/>
            <Button CommandName="cmdCollapseNodes"/>
          </MenuGroup>
          <MenuGroup>
            <ToggleButton CommandName="cmdCreateLink"/>
            <Button CommandName="cmdDeleteLink"/>
          </MenuGroup>
          <MenuGroup>
            <Button CommandName="Cut"/>
            <Button CommandName="Copy"/>
            <Button CommandName="Paste"/>
            <Button CommandName="Undo"/>
          </MenuGroup>
        </ContextMenu>
      </ContextPopup.ContextMenus>
      <ContextPopup.ContextMaps>
        <ContextMap CommandName="cmdContextMap1" 
                    MiniToolbar="myMiniToolbar" 
                    ContextMenu="ContextMenu1"/>
      </ContextPopup.ContextMaps>
    </ContextPopup>
  </Application.Views>
</Application>
